/*
 * Created on 09/03/2010
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.stefanini.pe.bbva.mbl.in.bo;

import java.util.List;

import com.stefanini.pe.bbva.mbl.in.bo.iface.VisorSpreadBO;
import com.stefanini.pe.bbva.mbl.in.dao.iface.VisorSpreadDAO;


/**
 * @author jlezama
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class VisorSpreadBOImpl implements VisorSpreadBO {
	VisorSpreadDAO visorSpreadDAO;
	/**
	 * @param accesoDAO
	 */
	public VisorSpreadBOImpl(VisorSpreadDAO visorSpreadDAO) {
		super();
		this.visorSpreadDAO = visorSpreadDAO;
	}
	/**
	 * @return Returns the accesoDAO.
	 */
	public VisorSpreadDAO getVisorSpreadDAO() {
		return visorSpreadDAO;
	}
	/**
	 * @param accesoDAO The accesoDAO to set.
	 */
	public void setVisorSpreadDAO(VisorSpreadDAO mercadosDAO) {
		this.visorSpreadDAO = visorSpreadDAO;
	}
	
	
	public String selectByCriteria(String numeroContrato,String aplicacion) {
		return visorSpreadDAO.selectByCriteria(numeroContrato,aplicacion);    
    }
	
	public List calcularParciales(String numeroContrato,String aplicacion){
		return visorSpreadDAO.calcularParciales(numeroContrato,aplicacion);
	}
		
}
